[INFO] cloning repository https://github.com/obwan02/xanal
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/obwan02/xanal" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fobwan02%2Fxanal", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fobwan02%2Fxanal'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b4222a819dc31d4b1bafad8c9e5c0c0a630e34b4
[INFO] fixing obwan02/xanal against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fobwan02%2Fxanal" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/obwan02/xanal
[INFO] finished tweaking git repo https://github.com/obwan02/xanal
[INFO] tweaked toml for git repo https://github.com/obwan02/xanal written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/obwan02/xanal on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/obwan02/xanal already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ad3da3ebac8bbc05b2bfba7c8001392e2842e269c206a4e815698e01b62d80c3
[INFO] running `Command { std: "docker" "start" "ad3da3ebac8bbc05b2bfba7c8001392e2842e269c206a4e815698e01b62d80c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ad3da3ebac8bbc05b2bfba7c8001392e2842e269c206a4e815698e01b62d80c3" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ad3da3ebac8bbc05b2bfba7c8001392e2842e269c206a4e815698e01b62d80c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ad3da3ebac8bbc05b2bfba7c8001392e2842e269c206a4e815698e01b62d80c3" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]     Checking regex-syntax v0.6.27
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]     Checking once_cell v1.13.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling rustversion v1.0.7
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking terminal_size v0.1.17
[INFO] [stderr]     Checking os_str_bytes v6.1.0
[INFO] [stderr]     Checking hashbrown v0.12.2
[INFO] [stderr]     Checking unicode-width v0.1.9
[INFO] [stderr]     Checking num_threads v0.1.6
[INFO] [stderr]    Compiling time-macros v0.2.4
[INFO] [stderr]     Checking clap_lex v0.2.4
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking ansi_term v0.12.1
[INFO] [stderr]     Checking textwrap v0.15.0
[INFO] [stderr]     Checking glob v0.3.0
[INFO] [stderr]     Checking simple-error v0.2.3
[INFO] [stderr]     Checking dotenv v0.15.0
[INFO] [stderr]     Checking lipsum v0.8.2
[INFO] [stderr]     Checking time v0.3.11
[INFO] [stderr]     Checking regex v1.6.0
[INFO] [stderr]     Checking console v0.15.0
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking indicatif v0.16.2
[INFO] [stderr]    Compiling thiserror-impl v1.0.31
[INFO] [stderr]    Compiling clap_derive v3.2.7
[INFO] [stderr]     Checking thiserror v1.0.31
[INFO] [stderr]     Checking flexi_logger v0.22.5
[INFO] [stderr]     Checking clap v3.2.11
[INFO] [stderr]     Checking xcrypt v0.3.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/lib.rs (2 fixes)
[INFO] [stdout] warning: `impl std::error::Error` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]    --> src/lib.rs:203:71
[INFO] [stdout]     |
[INFO] [stdout] 203 | fn write_file(file_path: impl AsRef<Path>, data: &[u8]) -> Result<(), impl Error> {
[INFO] [stdout]     |                                                                       ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]    --> src/lib.rs:203:50
[INFO] [stdout]     |
[INFO] [stdout] 203 | fn write_file(file_path: impl AsRef<Path>, data: &[u8]) -> Result<(), impl Error> {
[INFO] [stdout]     |                                                  ^
[INFO] [stdout]     = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/lib.rs:203:26
[INFO] [stdout]     |
[INFO] [stdout] 203 | fn write_file(file_path: impl AsRef<Path>, data: &[u8]) -> Result<(), impl Error> {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]     = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 203 - fn write_file(file_path: impl AsRef<Path>, data: &[u8]) -> Result<(), impl Error> {
[INFO] [stdout] 203 + fn write_file<T: AsRef<Path>>(file_path: T, data: &[u8]) -> Result<(), impl Error + use<T>> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `impl std::error::Error` will capture more lifetimes than possibly intended in edition 2024
[INFO] [stdout]    --> src/lib.rs:203:71
[INFO] [stdout]     |
[INFO] [stdout] 203 | fn write_file(file_path: impl AsRef<Path>, data: &[u8]) -> Result<(), impl Error> {
[INFO] [stdout]     |                                                                       ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds
[INFO] [stdout]    --> src/lib.rs:203:50
[INFO] [stdout]     |
[INFO] [stdout] 203 | fn write_file(file_path: impl AsRef<Path>, data: &[u8]) -> Result<(), impl Error> {
[INFO] [stdout]     |                                                  ^
[INFO] [stdout]     = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/lib.rs:203:26
[INFO] [stdout]     |
[INFO] [stdout] 203 | fn write_file(file_path: impl AsRef<Path>, data: &[u8]) -> Result<(), impl Error> {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/rpit-lifetime-capture.html>
[INFO] [stdout]     = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 203 - fn write_file(file_path: impl AsRef<Path>, data: &[u8]) -> Result<(), impl Error> {
[INFO] [stdout] 203 + fn write_file<T: AsRef<Path>>(file_path: T, data: &[u8]) -> Result<(), impl Error + use<T>> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.15s
[INFO] [stderr] crater-edition-check: xcrypt v0.3.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking xcrypt v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0515]: cannot return value referencing temporary value
[INFO] [stdout]    --> src/lib.rs:269:18
[INFO] [stdout]     |
[INFO] [stdout] 269 |               1 => write_file(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 270 | |                 output_file,
[INFO] [stdout] 271 | |                 &decrypt(&data, &key_guesses[0]).collect::<Vec<_>>(),
[INFO] [stdout]     | |                  --------------------------------------------------- temporary value created here
[INFO] [stdout] 272 | |             )?,
[INFO] [stdout]     | |______________^ returns a value referencing data owned by the current function
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/lib.rs:269:18
[INFO] [stdout]     |
[INFO] [stdout] 269 |               1 => write_file(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 270 | |                 output_file,
[INFO] [stdout] 271 | |                 &decrypt(&data, &key_guesses[0]).collect::<Vec<_>>(),
[INFO] [stdout] 272 | |             )?,
[INFO] [stdout]     | |_____________^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/lib.rs:203:26
[INFO] [stdout]     |
[INFO] [stdout] 203 | fn write_file(file_path: impl AsRef<Path>, data: &[u8]) -> Result<(), impl Error> {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 203 - fn write_file(file_path: impl AsRef<Path>, data: &[u8]) -> Result<(), impl Error> {
[INFO] [stdout] 203 + fn write_file<T: AsRef<Path>>(file_path: T, data: &[u8]) -> Result<(), impl Error + use<T>> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing temporary value
[INFO] [stdout]    --> src/lib.rs:291:21
[INFO] [stdout]     |
[INFO] [stdout] 291 |                     write_file(path, &decrypt(&data, key).collect::<Vec<_>>())?;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^---------------------------------------^^
[INFO] [stdout]     |                     |                 |
[INFO] [stdout]     |                     |                 temporary value created here
[INFO] [stdout]     |                     returns a value referencing data owned by the current function
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/lib.rs:291:21
[INFO] [stdout]     |
[INFO] [stdout] 291 |                     write_file(path, &decrypt(&data, key).collect::<Vec<_>>())?;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/lib.rs:203:26
[INFO] [stdout]     |
[INFO] [stdout] 203 | fn write_file(file_path: impl AsRef<Path>, data: &[u8]) -> Result<(), impl Error> {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 203 - fn write_file(file_path: impl AsRef<Path>, data: &[u8]) -> Result<(), impl Error> {
[INFO] [stdout] 203 + fn write_file<T: AsRef<Path>>(file_path: T, data: &[u8]) -> Result<(), impl Error + use<T>> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0515`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `xcrypt` (lib test) due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0515]: cannot return value referencing temporary value
[INFO] [stdout]    --> src/lib.rs:269:18
[INFO] [stdout]     |
[INFO] [stdout] 269 |               1 => write_file(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 270 | |                 output_file,
[INFO] [stdout] 271 | |                 &decrypt(&data, &key_guesses[0]).collect::<Vec<_>>(),
[INFO] [stdout]     | |                  --------------------------------------------------- temporary value created here
[INFO] [stdout] 272 | |             )?,
[INFO] [stdout]     | |______________^ returns a value referencing data owned by the current function
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/lib.rs:269:18
[INFO] [stdout]     |
[INFO] [stdout] 269 |               1 => write_file(
[INFO] [stdout]     |  __________________^
[INFO] [stdout] 270 | |                 output_file,
[INFO] [stdout] 271 | |                 &decrypt(&data, &key_guesses[0]).collect::<Vec<_>>(),
[INFO] [stdout] 272 | |             )?,
[INFO] [stdout]     | |_____________^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/lib.rs:203:26
[INFO] [stdout]     |
[INFO] [stdout] 203 | fn write_file(file_path: impl AsRef<Path>, data: &[u8]) -> Result<(), impl Error> {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 203 - fn write_file(file_path: impl AsRef<Path>, data: &[u8]) -> Result<(), impl Error> {
[INFO] [stdout] 203 + fn write_file<T: AsRef<Path>>(file_path: T, data: &[u8]) -> Result<(), impl Error + use<T>> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing temporary value
[INFO] [stdout]    --> src/lib.rs:291:21
[INFO] [stdout]     |
[INFO] [stdout] 291 |                     write_file(path, &decrypt(&data, key).collect::<Vec<_>>())?;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^---------------------------------------^^
[INFO] [stdout]     |                     |                 |
[INFO] [stdout]     |                     |                 temporary value created here
[INFO] [stdout]     |                     returns a value referencing data owned by the current function
[INFO] [stdout]     |
[INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules
[INFO] [stdout]    --> src/lib.rs:291:21
[INFO] [stdout]     |
[INFO] [stdout] 291 |                     write_file(path, &decrypt(&data, key).collect::<Vec<_>>())?;
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable
[INFO] [stdout]    --> src/lib.rs:203:26
[INFO] [stdout]     |
[INFO] [stdout] 203 | fn write_file(file_path: impl AsRef<Path>, data: &[u8]) -> Result<(), impl Error> {
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^
[INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit
[INFO] [stdout]     |
[INFO] [stdout] 203 - fn write_file(file_path: impl AsRef<Path>, data: &[u8]) -> Result<(), impl Error> {
[INFO] [stdout] 203 + fn write_file<T: AsRef<Path>>(file_path: T, data: &[u8]) -> Result<(), impl Error + use<T>> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0515`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `xcrypt` (lib) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "ad3da3ebac8bbc05b2bfba7c8001392e2842e269c206a4e815698e01b62d80c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ad3da3ebac8bbc05b2bfba7c8001392e2842e269c206a4e815698e01b62d80c3", kill_on_drop: false }`
[INFO] [stdout] ad3da3ebac8bbc05b2bfba7c8001392e2842e269c206a4e815698e01b62d80c3
